package condition;

import square.Rock;
import square.Square;

public class ConditionIsRock implements Condition {

	@Override
	public boolean checkFor(Square square) {
		return square != null && square instanceof Rock;
	}

}
